|
|
|
|
|
|
|
Note When you work with the Menu Editor, it's very easy to enter the Caption for an item and forget to enter a Name before pressing Enter. This will generate a message that the menu control must have a name. |
|
|
|
|
|
|
|
|
|
Figure 4.18.
The accepted menu items are listed in the
Menu Editor. |
|
|
|
|
|
|
|
|
After you finish entering the menu items for the application, click OK to close the Menu Editor. Your menu will now appear on the form exactly as you've entered it. |
|
|
|
|
|
|
|
|
If you created a menu as shown in Figure 4.19, it will probably be very clumsy to work with. Every item that you've entered appears on the main menu bar. |
|
|
|
|
|
|
|
|
Figure 4.19.
A menu with all the items being
displayed on the main menu bar. |
|
|
|
|
|